package com.zlzlib.librxoknet.demo;


import com.zlzlib.librxoknet.base.BaseProRetrofit;

import java.io.File;

/**
 * Created by zlz on 2019/8/22.
 */
public class DemoRetrofit extends BaseProRetrofit<DemoService> {

    private volatile static DemoRetrofit init;


    //创建 单例模式
    public static DemoRetrofit init() {
        if (init == null) {
            synchronized (DemoRetrofit.class) {
                if (init == null) {
                    init = new DemoRetrofit();
                }
            }
        }
        return init;
    }

    private DemoRetrofit() {
        super();
    }


    @Override
    public String baseUrl() {
        return null;
    }

    @Override
    protected File cacheFile() {
        return null;
    }

    @Override
    protected boolean isNetConnected() {
        return false;
    }

    @Override
    protected boolean isDebug() {
        return false;
    }

}
